/*头部*/
#header{
	background-color:#ffffff;
	width:1200px;
	height:72px;
	margin-left:auto;
	margin-right:auto;
	margin-top:42px;
	margin-bottom:42px;
}
#header img{/*logo图片*/
    margin-left:50px;
    margin-right:33px;
	vertical-align:middle;/*中线对齐*/
}
#header .line{/*竖线*/
	border:2px solid #676767;
	height:68px;/*68+2+2=72*/
	width:0px;
	/* 为了让div能和其他元素显示在同一行 */
	display:inline-block;
	margin-right:22px;
	vertical-align:middle;/*中线对齐*/
	background-color:#676767;
}
#header .wel-login{/*欢迎登录*/
	font-size:36px;
	color:#676767;
	vertical-align:middle;/*中线对齐*/
}
#middle{
	/* background-color:yellow; */
	width:1200px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:144px;
	border:9px solid #f0f0f0;
	border-left-width:7px;
	border-right-width:7px;
}
#middle form{
	/* background-color:yellow; */
	width:385px;
	margin-left:110px;
	/* 设置form为行内块元素,就可以和其他行内元素显示在一行 */
	display:inline-block;
	/* 让当前元素的顶部和行内最高元素的顶部对齐 */
	vertical-align:top;
}
#middle form h1{
	text-align:center;
	/*  margin: 10px 20px 30px 40px; 上 右 下 左 
		margin: 10px 20px 30px;  上 左右 下 
		margin: 10px 20px;  上下 左右 
		margin: 10px;  上下左右 */
	margin:87px 0px 20px;
	font-size:26px;
	/* #AABBCC可以简写成#ABC */
	color:#333;
}
#err-msg{
	text-align:center;
	color:#f00;
	font-size:16px;
	margin-bottom:9px;
}
#middle form input{ /*用户名/密码/登录按钮*/
	width:377px;
	height:49px;
	font-size:16px;
	color:#999;
	border:2px solid #ededed;
	margin-bottom:32px;
	text-indent:46px;
}
#middle form input[name="username"]{
	/*background-color: #fff;*/
	/*background-image:url(img/u_ico.jpg);*/
	 	/*不定义默认是repeat 横向重复,纵向也重复
	    background-repeat: repeat;
	    横向重复,纵向不重复
	    background-repeat: repeat-x; 
		纵向重复,横向不重复
	    background-repeat: repeat-y; */
		/*横向不重复,纵向也不重复
	  background-repeat: no-repeat;*/
     /* background-position: 14px 14px;*/
	  background:#fff url(img/u_ico.jpg) no-repeat 14px 14px;
}
#middle form input[name="password"]{
	background:#fff url(img/p_ico.jpg) no-repeat 14px 14px; 
}
#middle form input[type="submit"]{
	text-indent:0px;
	font-size:20px;
	color:#fff;
	width:385px;
	height:52px;
	background-color:red;
}
#footer{
	/* background-color:cyan; */
	width:1200px;
	margin-left:auto;
	margin-right:auto;
}
#footer p{
	text-align:center;
	font-size:14px;
	/* #AABBCC可以简写成#ABC */
	color:#999;
	line-height:34px;
	
	
}